home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 72 61 69 6e 2e |Path: ne|ws.rain.|
|00000010| 6f 72 67 21 75 73 65 6e | 65 74 0a 46 72 6f 6d 3a |org!usen|et.From:|
|00000020| 20 22 47 75 75 73 20 4c | 65 65 75 77 20 6a 72 2e | "Guus L|eeuw jr.|
|00000030| 22 20 3c 67 75 75 73 6c | 40 65 69 66 66 65 6c 2e |" <guusl|@eiffel.|
|00000040| 63 6f 6d 3e 0a 4e 65 77 | 73 67 72 6f 75 70 73 3a |com>.New|sgroups:|
|00000050| 20 63 6f 6d 70 2e 6f 73 | 2e 6d 73 2d 77 69 6e 64 | comp.os|.ms-wind|
|00000060| 6f 77 73 2e 70 72 6f 67 | 72 61 6d 6d 65 72 2e 74 |ows.prog|rammer.t|
|00000070| 6f 6f 6c 73 2e 6d 66 63 | 2c 63 6f 6d 70 2e 6c 61 |ools.mfc|,comp.la|
|00000080| 6e 67 2e 63 2b 2b 0a 53 | 75 62 6a 65 63 74 3a 20 |ng.c++.S|ubject: |
|00000090| 52 65 3a 20 55 6e 72 65 | 73 6f 6c 76 65 64 20 65 |Re: Unre|solved e|
|000000a0| 78 74 65 72 6e 61 6c 20 | 22 5f 70 72 69 6e 74 66 |xternal |"_printf|
|000000b0| 22 20 69 6e 20 56 69 73 | 75 61 6c 20 43 2b 2b 20 |" in Vis|ual C++ |
|000000c0| 31 2e 35 32 0a 44 61 74 | 65 3a 20 53 75 6e 2c 20 |1.52.Dat|e: Sun, |
|000000d0| 31 31 20 46 65 62 20 31 | 39 39 36 20 31 30 3a 35 |11 Feb 1|996 10:5|
|000000e0| 33 3a 32 32 20 2d 30 35 | 30 30 0a 4f 72 67 61 6e |3:22 -05|00.Organ|
|000000f0| 69 7a 61 74 69 6f 6e 3a | 20 49 6e 74 65 72 61 63 |ization:| Interac|
|00000100| 74 69 76 65 20 53 6f 66 | 74 77 61 72 65 20 45 6e |tive Sof|tware En|
|00000110| 67 69 6e 65 65 72 69 6e | 67 20 49 6e 63 2e 20 68 |gineerin|g Inc. h|
|00000120| 68 74 70 3a 2f 2f 77 77 | 77 2e 65 69 66 66 65 6c |htp://ww|w.eiffel|
|00000130| 2e 63 6f 6d 2f 0a 4d 65 | 73 73 61 67 65 2d 49 44 |.com/.Me|ssage-ID|
|00000140| 3a 20 3c 33 31 31 45 31 | 30 46 32 2e 36 43 39 41 |: <311E1|0F2.6C9A|
|00000150| 30 38 45 31 40 65 69 66 | 66 65 6c 2e 63 6f 6d 3e |08E1@eif|fel.com>|
|00000160| 0a 52 65 66 65 72 65 6e | 63 65 73 3a 20 3c 34 66 |.Referen|ces: <4f|
|00000170| 6a 33 37 72 24 6c 35 34 | 40 65 78 70 72 65 73 73 |j37r$l54|@express|
|00000180| 32 2e 69 6f 72 2e 63 6f | 6d 3e 0a 4e 4e 54 50 2d |2.ior.co|m>.NNTP-|
|00000190| 50 6f 73 74 69 6e 67 2d | 48 6f 73 74 3a 20 40 6f |Posting-|Host: @o|
|000001a0| 75 74 62 61 63 6b 2e 65 | 69 66 66 65 6c 2e 63 6f |utback.e|iffel.co|
|000001b0| 6d 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |m.Mime-V|ersion: |
|000001c0| 31 2e 30 0a 43 6f 6e 74 | 65 6e 74 2d 54 79 70 65 |1.0.Cont|ent-Type|
|000001d0| 3a 20 74 65 78 74 2f 70 | 6c 61 69 6e 3b 20 63 68 |: text/p|lain; ch|
|000001e0| 61 72 73 65 74 3d 75 73 | 2d 61 73 63 69 69 0a 43 |arset=us|-ascii.C|
|000001f0| 6f 6e 74 65 6e 74 2d 54 | 72 61 6e 73 66 65 72 2d |ontent-T|ransfer-|
|00000200| 45 6e 63 6f 64 69 6e 67 | 3a 20 37 62 69 74 0a 58 |Encoding|: 7bit.X|
|00000210| 2d 4d 61 69 6c 65 72 3a | 20 4d 6f 7a 69 6c 6c 61 |-Mailer:| Mozilla|
|00000220| 20 32 2e 30 20 28 58 31 | 31 3b 20 49 3b 20 4c 69 | 2.0 (X1|1; I; Li|
|00000230| 6e 75 78 20 31 2e 32 2e | 31 33 20 69 35 38 36 29 |nux 1.2.|13 i586)|
|00000240| 0a 54 6f 3a 20 63 6c 69 | 6e 40 78 6e 2d 74 65 63 |.To: cli|n@xn-tec|
|00000250| 68 2e 63 6f 6d 0a 0a 63 | 6c 69 6e 40 78 6e 2d 74 |h.com..c|lin@xn-t|
|00000260| 65 63 68 2e 63 6f 6d 20 | 77 72 6f 74 65 3a 0a 5b |ech.com |wrote:.[|
|00000270| 73 6e 69 70 20 73 6e 69 | 70 5d 0a 3e 20 49 20 70 |snip sni|p].> I p|
|00000280| 61 73 74 65 64 20 73 6f | 6d 65 20 6f 6c 64 2c 20 |asted so|me old, |
|00000290| 74 65 73 74 65 64 20 43 | 20 63 6f 64 65 73 20 74 |tested C| codes t|
|000002a0| 6f 20 6d 79 20 43 2b 2b | 20 70 72 6f 67 72 61 6d |o my C++| program|
|000002b0| 2e 20 49 20 67 6f 74 20 | 74 68 65 20 66 6f 6c 6c |. I got |the foll|
|000002c0| 6f 77 69 6e 67 20 6c 69 | 6e 6b 65 72 20 65 72 72 |owing li|nker err|
|000002d0| 6f 72 0a 3e 20 0a 3e 20 | 65 72 72 6f 72 20 4c 32 |or.> .> |error L2|
|000002e0| 30 32 39 3a 20 27 5f 70 | 72 69 6e 74 66 27 20 3a |029: '_p|rintf' :|
|000002f0| 20 75 6e 72 65 73 6f 6c | 76 65 64 20 65 78 74 65 | unresol|ved exte|
|00000300| 72 6e 61 6c 0a 3e 20 0a | 3e 20 49 6e 20 6d 79 20 |rnal.> .|> In my |
|00000310| 70 72 6f 67 72 61 6d 2c | 20 49 20 68 61 76 65 20 |program,| I have |
|00000320| 69 6e 63 6c 75 64 65 20 | 74 68 65 73 65 20 6c 69 |include |these li|
|00000330| 62 72 61 72 69 65 73 3a | 0a 3e 20 0a 3e 20 65 78 |braries:|.> .> ex|
|00000340| 74 65 72 6e 20 22 43 22 | 20 7b 0a 3e 20 23 69 6e |tern "C"| {.> #in|
|00000350| 63 6c 75 64 65 20 3c 64 | 6f 73 2e 68 3e 0a 3e 20 |clude <d|os.h>.> |
|00000360| 23 69 6e 63 6c 75 64 65 | 20 3c 63 6f 6e 69 6f 2e |#include| <conio.|
|00000370| 68 3e 0a 3e 20 23 69 6e | 63 6c 75 64 65 20 3c 63 |h>.> #in|clude <c|
|00000380| 74 79 70 65 2e 68 3e 0a | 3e 20 23 69 6e 63 6c 75 |type.h>.|> #inclu|
|00000390| 64 65 20 3c 73 74 64 6c | 69 62 2e 68 3e 0a 3e 20 |de <stdl|ib.h>.> |
|000003a0| 23 69 6e 63 6c 75 64 65 | 20 3c 73 74 72 69 6e 67 |#include| <string|
|000003b0| 2e 68 3e 0a 3e 20 23 69 | 6e 63 6c 75 64 65 20 3c |.h>.> #i|nclude <|
|000003c0| 73 74 64 69 6f 2e 68 3e | 0a 3e 20 23 69 6e 63 6c |stdio.h>|.> #incl|
|000003d0| 75 64 65 20 3c 62 69 6f | 73 2e 68 3e 0a 3e 20 7d |ude <bio|s.h>.> }|
|000003e0| 0a 0a 52 65 6d 6f 76 69 | 6e 67 20 74 68 65 20 60 |..Removi|ng the `|
|000003f0| 65 78 74 65 72 6e 20 22 | 43 22 27 20 77 69 6c 6c |extern "|C"' will|
|00000400| 20 64 6f 20 70 72 65 74 | 74 79 20 6d 75 63 68 2c | do pret|ty much,|
|00000410| 20 49 20 67 75 65 73 73 | 2e 0a 0a 57 68 61 74 27 | I guess|...What'|
|00000420| 73 20 67 6f 69 6e 67 20 | 6f 6e 3f 20 54 68 65 20 |s going |on? The |
|00000430| 43 2b 2b 20 63 6f 6d 70 | 69 6c 65 72 20 63 6f 6d |C++ comp|iler com|
|00000440| 65 73 20 61 63 72 6f 73 | 73 20 65 78 74 65 72 6e |es acros|s extern|
|00000450| 20 22 43 22 20 61 6e 64 | 20 73 74 61 72 74 73 20 | "C" and| starts |
|00000460| 61 0a 64 69 66 66 65 72 | 65 6e 74 20 6e 61 6d 65 |a.differ|ent name|
|00000470| 20 6d 61 6e 67 6c 69 6e | 67 20 72 6f 75 74 69 6e | manglin|g routin|
|00000480| 65 20 74 68 61 6e 20 77 | 69 74 68 6f 75 74 20 60 |e than w|ithout `|
|00000490| 65 78 74 65 72 6e 20 22 | 43 22 27 2e 20 28 49 6e |extern "|C"'. (In|
|000004a0| 20 43 20 61 6c 6c 0a 6e | 61 6d 65 73 20 61 72 65 | C all.n|ames are|
|000004b0| 20 6d 61 6e 67 6c 65 64 | 20 62 79 20 61 20 27 5f | mangled| by a '_|
|000004c0| 27 20 70 72 65 66 69 78 | 3b 20 74 68 69 73 20 73 |' prefix|; this s|
|000004d0| 74 6f 72 79 20 69 73 20 | 61 20 6c 69 74 74 6c 65 |tory is |a little|
|000004e0| 20 64 69 66 66 65 72 65 | 6e 74 20 69 6e 0a 43 2b | differe|nt in.C+|
|000004f0| 2b 2e 29 0a 0a 49 20 73 | 75 73 70 65 63 74 20 74 |+.)..I s|uspect t|
|00000500| 68 61 74 20 74 68 65 20 | 6c 69 62 72 61 72 69 65 |hat the |librarie|
|00000510| 73 20 63 6f 6d 69 6e 67 | 20 77 69 74 68 20 79 6f |s coming| with yo|
|00000520| 75 72 20 63 6f 6d 70 69 | 6c 65 72 20 61 72 65 20 |ur compi|ler are |
|00000530| 63 6f 6d 70 69 6c 65 64 | 20 77 69 74 68 0a 74 68 |compiled| with.th|
|00000540| 61 74 20 63 6f 6d 70 69 | 6c 65 72 20 61 6e 64 20 |at compi|ler and |
|00000550| 74 68 75 73 20 61 6c 6c | 20 6e 61 6d 65 73 20 69 |thus all| names i|
|00000560| 6e 20 74 68 65 20 6c 69 | 62 72 61 72 79 20 73 68 |n the li|brary sh|
|00000570| 6f 75 6c 64 20 62 65 20 | 6d 61 6e 67 6c 65 64 20 |ould be |mangled |
|00000580| 69 6e 20 74 68 65 0a 43 | 2b 2b 20 73 74 79 6c 65 |in the.C|++ style|
|00000590| 73 2e 20 54 6f 20 63 68 | 65 63 6b 20 74 68 69 73 |s. To ch|eck this|
|000005a0| 20 79 6f 75 20 63 61 6e | 2c 20 69 6e 20 73 6f 6d | you can|, in som|
|000005b0| 65 20 77 61 79 2c 20 67 | 65 74 20 69 6e 66 6f 72 |e way, g|et infor|
|000005c0| 6d 61 74 69 6f 6e 20 61 | 62 6f 75 74 0a 61 6c 6c |mation a|bout.all|
|000005d0| 20 74 68 65 20 6d 6f 64 | 75 6c 65 73 20 61 6e 64 | the mod|ules and|
|000005e0| 20 6e 61 6d 65 73 20 69 | 6e 20 61 6e 79 20 6c 69 | names i|n any li|
|000005f0| 62 72 61 72 79 2e 0a 0a | 42 75 74 20 49 27 64 20 |brary...|But I'd |
|00000600| 66 69 72 73 74 20 74 72 | 79 20 72 65 6d 6f 76 69 |first tr|y removi|
|00000610| 6e 67 20 60 65 78 74 65 | 72 6e 20 22 43 22 27 2c |ng `exte|rn "C"',|
|00000620| 20 69 74 27 73 20 61 20 | 6c 6f 74 20 65 61 73 69 | it's a |lot easi|
|00000630| 65 72 20 3b 2d 29 0a 0a | 48 6f 70 65 20 74 68 69 |er ;-)..|Hope thi|
|00000640| 73 20 68 65 6c 70 73 2c | 0a 09 47 75 75 73 20 4c |s helps,|..Guus L|
|00000650| 65 65 75 77 20 6a 72 2e | 0a |eeuw jr.|. |
+--------+-------------------------+-------------------------+--------+--------+